package com.xinqi.modules.prepare.question.dto.req;

import com.xinqi.modules.prepare.question.dto.QuestionSortDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 备课区测评卷试题表-请求对象-查询
 *
 * @author: system
 * @date: 2023/03/19
 */
@Data
@Schema(description = "批量改分值-请求对象")
public class PrepareQuestionBankSortDTO implements Serializable {
    @Schema(description = "备课区ID", example = "10002", hidden = true)
    @NotNull(message = "备课区ID不能为空")
    private Long prepareId;
    @Schema(description = "排序列表列表")
    @NotEmpty(message = "排序列表不能为空")
    private List<QuestionSortDTO> sorts;
}
